#ifndef XIL_TYPES_H
#define XIL_TYPES_H

#include <string.h>

typedef unsigned char u8;
typedef unsigned short int u16;
typedef unsigned int u32;
typedef int s32;
#define UINTPTR u32

typedef void (*XInterruptHandler) (void *InstancePtr);

/**
 * This data type defines an exception handler for a processor.
 * The argument points to the instance of the component
 */
typedef void (*XExceptionHandler) (void *InstancePtr);
typedef void (*Xil_ExceptionHandler)(void *Data);


#ifndef TRUE
#  define TRUE		1U
#endif

#ifndef FALSE
#  define FALSE		0U
#endif

#ifndef NULL
#define NULL		((void*)0)
#endif

#define XIL_COMPONENT_IS_READY     0x11111111U  


#endif